package constant;

import com.hkfs.fundamental.config.FundamentalConfigProvider;

/**
 * Created by GuoXinJie.
 */
public interface Constants {
    public static final String SuDun_Send_SMS_URL = FundamentalConfigProvider.getString(PropertyKeys.SuDun_SINGLE_SMS_URL_KEY);
    public static final String SuDun_SMS_PRODUCT = FundamentalConfigProvider.getString(PropertyKeys.SuDun_SMS_PRODUCT_KEY);
    public static final String SuDun_SMS_ACCOUNT = FundamentalConfigProvider.getString(PropertyKeys.SuDun_SMS_ACCOUNT_KEY);
    public static final String SuDun_SMS_PASSWORD = FundamentalConfigProvider.getString(PropertyKeys.SuDun_SMS_PASSWORD_KEY);
    public static final String SuDun_SMS_STATUS = FundamentalConfigProvider.getString(PropertyKeys.SuDun_SMS_STATUS_KEY);

    public static final String VALIDATE_CODE_EXPIRE_TIME = FundamentalConfigProvider.getString(PropertyKeys.VALIDATE_CODE_EXPIRE_TIME_KEY);

    public static final String DAY_SEND_COUNT = FundamentalConfigProvider.getString(PropertyKeys.DAY_SEND_COUNT_KEY);
    public static final String HOUR_SEND_COUNT = FundamentalConfigProvider.getString(PropertyKeys.HOUR_SEND_COUNT_KEY);
    public static final String IP_SEND_COUNT = FundamentalConfigProvider.getString(PropertyKeys.IP_SEND_COUNT_KEY);
    public static final Integer SMS_SEND_INTERVAL = FundamentalConfigProvider.getInt(PropertyKeys.SMS_SEND_INTERVAL_KEY);

    public static final String IP_KEY_PREFIX = "sms.ip.address:";

    public static final String SMS_SEND_SUCCESS_FLAG = "is";
    public static final String REDIS_DAILY_SEND_PREFIX = "customerDailySendCount:";//每日发送redis数据
    public static final String REDIS_HOUR_SEND_PREFIX = "customerHourSendCount:";//每小时发送redis数据

    public static final String REDIS_MINUTE_SEND_PREFIX = "customerMinuteSendProof:";//每分钟只能发送一条短信

    // 短信接口部分
    public static final String Msg_Url = FundamentalConfigProvider.getString(PropertyKeys.Msg_Url_KEY);
    public static final String Msg_User_Id = FundamentalConfigProvider.getString(PropertyKeys.Msg_User_Id_KEY);
    public static final String Msg_Account = FundamentalConfigProvider.getString(PropertyKeys.Msg_Account_KEY);
    public static final String Msg_Password = FundamentalConfigProvider.getString(PropertyKeys.Msg_Password_KEY);
    public static final String Msg_Content = FundamentalConfigProvider.getString(PropertyKeys.Msg_Content_KEY);

    // 身份证接口部分
    public static final String ID_CHECK_URL = FundamentalConfigProvider.getString(PropertyKeys.ID_CHECK_URL_KEY);
    public static final String ID_CHECK_ACCOUNT = FundamentalConfigProvider.getString(PropertyKeys.ID_CHECK_ACCOUNT_KEY);
    public static final String ID_CHECK_PWD = FundamentalConfigProvider.getString(PropertyKeys.ID_CHECK_PWD_KEY);

}
